From f66b12fd1d0b83af0d7230d7b1565fbe00afbe3c Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Wed, 22 Feb 2023 11:03:34 +0700
Subject: prettier

---
 src/pages/shop/brands/[slug].jsx | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

(limited to 'src/pages/shop/brands/[slug].jsx')

diff --git a/src/pages/shop/brands/[slug].jsx b/src/pages/shop/brands/[slug].jsx
index da3ee84d..33f81fa2 100644
--- a/src/pages/shop/brands/[slug].jsx
+++ b/src/pages/shop/brands/[slug].jsx
@@ -1,11 +1,11 @@
-import dynamic from "next/dynamic"
-import { getIdFromSlug, getNameFromSlug } from "@/core/utils/slug"
-import { useRouter } from "next/router"
-import _ from "lodash"
+import dynamic from 'next/dynamic'
+import { getIdFromSlug, getNameFromSlug } from '@/core/utils/slug'
+import { useRouter } from 'next/router'
+import _ from 'lodash'
 
-const BasicLayout = dynamic(() => import("@/core/components/layouts/BasicLayout"))
-const ProductSearch = dynamic(() => import("@/lib/product/components/ProductSearch"))
-const Brand = dynamic(() => import("@/lib/brand/components/Brand"))
+const BasicLayout = dynamic(() => import('@/core/components/layouts/BasicLayout'))
+const ProductSearch = dynamic(() => import('@/lib/product/components/ProductSearch'))
+const Brand = dynamic(() => import('@/lib/brand/components/Brand'))
 
 export default function BrandDetail() {
   const router = useRouter()
@@ -13,13 +13,13 @@ export default function BrandDetail() {
   return (
     <BasicLayout>
       <Brand id={getIdFromSlug(slug)} />
-      { !_.isEmpty(router.query) && (
+      {!_.isEmpty(router.query) && (
         <ProductSearch
           query={_.omit(router.query, 'slug')}
           prefixUrl={`/shop/brands/${slug}`}
           defaultBrand={getNameFromSlug(slug)}
         />
-      ) }
+      )}
     </BasicLayout>
   )
-}
\ No newline at end of file
+}
-- 
cgit v1.2.3

